Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(refactor): vite - extract default vite config #10110

Merged

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Mar 4, 2024

This is just a refactor where I extract the config part of our redwood vite preset out into its own file.

Technically this could probably go out in a v7 patch. But merging it into the v7 branch could be a little bit challenging because I don't think we have the envVarDefinitions file there. Breaking that stuff out into its own file was marked with the RSC milestone, so that's why I'm also marking this PR with RSC. See RSC: Refactor: extract common code for env vars [#10049]

@Tobbe Tobbe added changelog-ok release:chore This PR is a chore (means nothing for users) labels Mar 4, 2024
@Tobbe Tobbe added this to the RSC milestone Mar 4, 2024
@Tobbe Tobbe merged commit 4c8151e into redwoodjs:main Mar 4, 2024
42 of 49 checks passed
@Tobbe Tobbe deleted the tobbe-refactor-extract-default-vite-config branch March 4, 2024 15:16
dac09 added a commit that referenced this pull request Mar 6, 2024
…support

* 'main' of github.com:redwoodjs/redwood: (30 commits)
  fix(scenario): Make sure to cleanup even if test fails (#10112)
  Update babel monorepo to v7.24.0 (#10090)
  Update storybook monorepo to v7.6.17 (#10089)
  Update dependency @apollo/client to v3.9.5 (#10087)
  fix(serve): Allow periods in most paths (#10114)
  feat(rsc-streaming): Integrating RSC builds with Streaming and Client side hydration (#10031)
  chore(style): getDefaultViteConfig source format (#10111)
  chore(refactor): vite - extract default vite config (#10110)
  chore(comment): cli index FIXME comment about ugly big red box
  RSC: rscBuildAnalyze: Start at web/src/ (#10109)
  RSC: ensureProcessDirWeb() (#10108)
  RSC: Extract webpack shims into their own file (#10107)
  RSC: Remove completed TODO comment
  RSC: Babel react plugin not needed for analyze phase (#10106)
  RSC: runFeServer: wrap RSC code with `if (rscEnabled)` (#10105)
  RSC: Update comments, naming etc based on Danny's input (#10104)
  RSC: Rename to buildRscClientAndServer (#10103)
  RSC: Rename to rscBuildForServer, and tweak some comments (#10102)
  SSR: Extract buildForStreamingServer function (#10099)
  chore(unit-tests): Silence middleware error logging (#10097)
  ...
@Josh-Walker-GM Josh-Walker-GM modified the milestones: RSC, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants